#include<iostream>
using namespace std;
int main()
{
	unsigned m,t,s,n;
	cin>>m>>t>>s;
	if(t==0)
	{
		cout<<0;
		return 0;
	}
	else if(s%t==0)
	 n=s/t;
	else
	 n=s/t+1;
	if(n>=m)
	cout<<1;
	else
	cout<<m-n;
	return 0;
	
}
